Skip to content

Conversation

@stasysp
Copy link

@stasysp stasysp commented Nov 22, 2017

Iostream header includes string. But to to use std::string, it is nessesary to #include , otherwise the program might not run on different implementations, or even in later versions of the current one.

Iostream header includes string.  But to to use std::string, it is nessesary to  #include <string>, otherwise the program might not run on different implementations, or even in later versions of the current one.
@stasysp
Copy link
Author

stasysp commented Nov 22, 2017

@Cadovvl

@PMICources
Copy link
Owner

Мне приходят уведомления о новых реквестах, даже если ты меня не упоминаешь: репозиторий мой!

@PMICources
Copy link
Owner

Iostream header includes string. But to to use std::string, it is nessesary to #include , otherwise the program might not run on different implementations, or even in later versions of the current one.

There is no iostream library in this header. Meanwhile, there is no include in this file, that guarantee 'string' include.

2 PP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants